package com.tunan.system.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tunan.persistence.dao.sck.EntityMapper;
import com.tunan.persistence.dao.sck.TSysRoleMapper;
import com.tunan.persistence.model.TSysRole;

@Service
public class SysRoleService extends EntityService<TSysRole> {
	@Autowired
	private TSysRoleMapper tSysRoleMapper;

	@Override
	public EntityMapper<TSysRole> getMapper() {
		return tSysRoleMapper;
	}

	public List<TSysRole> findAll() {
		return tSysRoleMapper.findAll();
	}
}
